package c6.e27;
 interface Inter<T>{
    public abstract void show(T t);
}
class InterImpl implements Inter<String>{
     //@override 表示下面方法是重写方法
    @Override
     public void  show(String s){
        System.out.println(s);
     }
}
public class e27 {
    public static void main(String[] args) {
        Inter inter = new InterImpl();
        inter.show("Hello");
    }
}
